def digitize(n):
    result = []
    while True:  
        result.append(n % 10)
        n //= 10
        if(n == 0):  
            break
    return result
